//
//  LVViewController.h
//  Live
//
//  Created by 熙文 张 on 16/3/3.
//  Copyright © 2016年 Heller. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIViewController+LSYExtension.h"
#import "UINavigationBar+Custom.h"

@class LKNavigationBarBgView;
@interface LVViewController : UIViewController


@property (assign, nonatomic) UIStatusBarStyle lk_statusBarStyle; /**< 设置状态栏样式 */
@property (assign, nonatomic) UIInterfaceOrientationMask lk_supportedInterfaceOrientations; /**< 播放器全屏播放用到 */

@property (assign, nonatomic) BOOL lk_shouldAutorotate;         /**< 是否支持自动旋屏 */
@property (assign, nonatomic) BOOL needStatusBarHidden;         /**< 是否显示状态栏 */
@property (assign, nonatomic) BOOL needDisapperKeyboardGesture; /**< 默认是NO */
@property (assign, nonatomic, getter=isLkClearBackgroundNavBar) BOOL lkClearBackgroundNavBar; /**< 导航栏是否透明 */

@property (copy  , nonatomic) NSString *statisticKey; /**< 埋点统计键 */


/**
 快捷创建TabelView

 @return UITableView 实例
 */
- (UITableView *)createTableView;

/// 处理ios15导航栏变透明的问题
- (void)handleNavBarStyle;

@end

@interface LVViewController(DisapperKeyboardGesture)
/**
 *  添加一个让键盘推下去的手势事件
 */
- (void)addNeedDisapperKeyboardGesture;
/**
 *  添加一个让键盘推下去的手势事件
 *
 *  @param handle 如果handle有值就是自己处理时间， 否则就是使用[self.view endEdit:YES];
 */
- (void)addNeedDisapperKeyboardGestureWithHandle:(void(^)(void))handle;

@end
